import type React from "react"
import type { Metadata } from "next"
import "./globals.css"
import Navbar from "@/components/navbar"
import Footer from "@/components/footer"
import TopBanner from "@/components/top-banner"

export const metadata: Metadata = {
  title: "网络主播合规网 - 专业的网络主播培训平台",
  description: "提供网络主播培训、考试和认证服务",
    generator: 'v0.dev'
}

export default function RootLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <html lang="zh">
      <body className="flex flex-col min-h-screen">
        <TopBanner />
        <Navbar />
        <div className="flex-grow">{children}</div>
        <Footer />
      </body>
    </html>
  )
}



import './globals.css'